correct jshint error