Fix message signing