Fix issue that "open in" does not work right