Fixed some bugs in Grunt init