Fixed bug in /halt