generate docs / fix osx issue