fixed jshint prob