fixed some bugs in publish-javadoc