fixed Collection class losing itself when chaining