fix bug in comps