fixes jshint issue