handle message parsing error properly