removing pear stuff