delete previous useless directories