fix gpg pre-check