fix message signing