fix for registration and bad menu item