fixing a pear token issue