make get input's error checking useful