fixed the madness that was the structure and logic of reports/show