InputError was in wrong spot