doing sed right