Fixed sed replacement