fix ant script bug