Adjusting input validation