fix an error from jshint