fix auto make script bug