fixed javadoc errors. Fixes #4