fix console quit command bug