display user input when invalid