fixed browser window not opening on osx