remove excess node