typo in validate