correcting javadocs