fix bug add building