insert into tree fix