PDO error fix

PDO error fix in pixelwise plugin