delete unnecessary dir.