fixed a small issue with submenu key controls