my iron farm, I tried to make a iron farm and once i got 2 villagers in here, i need to wait for some wheat do grow up to breed the next villager and then they are gone and i don't know why? no zombies can enter this

the gap that you see at the end i made that when i found out there gone
why are my villagers keep dissapearing?