fixed bug in report producing code