fix split routines
fix insert in node routine
fix insert routine