[fixes #608] fix some typos.

thanks @shellyan for pointing them out.