user input error case handeled