fix for rsa keys