fixed duplicate context menu items for issue #746