Fix cache delete error