Fixed a typo.

fromat->format