Updated code for show menu

Show menus were not producing so updated code