typo in validation