try to autofix duplicates
catch a few more kinds of duplicates