fixed idiotic typo in cache iterator