fixing war exit behavior