fix typos in javadoc