erroneous input handling