fix dup classes