fixed bug on dashboard page for viewing reports