fix error message for grunt