- fixed some bugs in reporting.