delete previous dir