Fix bug: check valid user input