minor fix for when there are no chatmessages