fix the JSHint error