fix the case of compo list == 0