fix grunt build errors