fixed convertKey2KeyRing when upgrading from old versions