fix a bug in GetCGpub.pm