fixed signing messages longer than 250 bytes