fixed the input format for generic avro records