fix grunt task flow error