minor fix for user input