delete unneccessary dir