reduced wasteful array copying in Report.php