remove duplicate classes