fixed windows crash via right-click