pear fix bag with assertarion while freeing memory
added assertation for pear tool
stable but ugly version of banana
next version