fixed JSHint warning.