minor fixes for user input