support dynamic menu: fix issues with toggle menu...