Fix bugs in class Menu