Incorrect call to validateInput