fix some bugs regarding parametric buildings.