Fixed bug in javadoc