fix a bug that can cause duplicates in report page