Fixed issue adding buildings