fixed bug in report