fixes cache restore relocation