Fixed uglify task loop error