delete unnecesary directory