unwanted repitition in node