small bug with user input