avoid unnecessary erase_dup steps
2 files changed