remove cache disabled and set dirty bit