fixed deletion of gpg key