reproduce by trying any 1-5 and quiting. (1/2/3/4/5 + q can trigger panic) <img width="1960" height="758" alt="Image" src="https://github.com/user-attachments/assets/37b6cc67-14dd-419c-8b11-3f35bcc5bcd1" />