Fix typo in embedValidator