fix memory disk cache