modify for auto build