remove unneeded sed calls