fix user input