some fixes for Keyring initiate;