remove repeat looping