Fixed a time bug.