fix for type safety when matching field validators