fix regression in menu_handler.py

fixes #14