add validates_format_of handling