fixed typos in javadoc