some additions for using multiple same menus in a webapp