fixes grunt errors in helper file