fixed JSHint error