(hopefully) fixed stack underflow in menu