bugfix for gpcm