fixed assertions about user input