more fixes according to the grunt 0.3 to 0.4 upgrade guide