Fix typos, close gh-1187.