quit when input is not a number