converts user input with bad input