fix windows default open method