simplify sed invocation