Fix duplicities