small bug fix for auto build