Fixing a bug in sending to PNDV