tidy the report detail rows