Fix cache clear after save file