javadoc platform and some fixes