Fixed a bug with wrong format.