imrpoved delete cache