changed error behavior in prtDataHandler