fixed gruntfile endless loop