delete the old directory