minor fixes for MacOSX mavericks
latest version