Nevermind, solved. It seems that I placed the villager on the wrong spot.