prevent data loss when collection_dump=False