fixing startup on osx