try to put in support for osx
change modeline