delete unnecessary dir