userinput bug fix