fix a bug in the PGM sender causing an exception
Merge pull request #86 from somdoron/PGMBug

fix a bug in the PGM sender causing an exception