fix keyring problem with imports