Fixed compatibility with grunt rc7