fix to function calls for menus