fix data race, dedup struct