only remove the war and dir