fix bug with invitee validation