cache collect bug fix