fixed generation of pepper tree