fixContextMenus