fixed building problem