add i to sed command