fix failure to cleanup completion output bug

introduced when fixing quit() and exit()