fixed crash in menu selector