Fix message processing.