fixed a jshint error