bug fix in report views