removing cache and logs