fixed chat title is undefined