fix bugs in report generate