add correct halt command handling