format the report table