Fix cache copy