fixed minor bug in reports.php