fix when gpg key is set.