Gate bug?

I didn’t read the last patch entirely so i don’t know if it is a bug or it is intended. Yesterday i did a treaty and when i tried to build more gates at once it just made one even if i selected multiple walls. I seriously hope this is a bug or i will go mad probably.