remove (hopefully) duplicates