fixed minor bugs in report