delete cache before