fixed invalid pgp output