fixed demo submenu bug