add a report and fix small problems