exit halt fix