fix parsing of channel messages