tuning RSA interoperability + small fixes