fix gpg error