pop or exit
this should probably be about right, but we load 0 commands, so it needs patches