fix core dump in msg8b handler