gpg fix for newer version