fix collect bug