fix CList refcounting bug