properly format records commits