some fixes for grunt