fix inArray validator