putting back this one as a safety net :)
Fixed bug in the set function if `e` or `f` are not specified
small jslint error