fixed the countercache stuff