take out substr since no more edit word to remove