small fix and javadoc