fix PEAR bug