fixed chat bug that stopped a user from saving the first message