fixed PEAR::isError incompatability