fix: input validator for record