fixed bug in reports