Fix message print order