removes duplicate class