Fixed sed calls