avoid removing unrequired folders