fixes for grunt build