Fixbug for grunt build command