correcting javadoc