remove cache code