small modification to determine which PMOD is failing
small modification to determine which PMOD is failing