fixed chat time bug