fixing building problem