fixed bug in all buildings