fixed some minor bugs on auto builder system