fix ncore degeneracy