modify user input