delete cache and logs