Fix crash on '/quit'