user input verification bug fixed