fix bugs with gruntfile.js