fix: detail_report now reflects the changed data scheme and functions properly