Fix #227 (duplicate menus)