typos in javadoc corrected