fixed little bug in input validation