Fixed some location problems for building