fix auto build