prevent stray menus