fix some typos in the javadoc docs