Fixed issue: Fix menus not displaying

Fixed the menu items issue arised in previous commit f6855b814cf973eaa535af6968b854ac57090a86