delete unneccessary directory