modify to be compatible with grunt 0.4