Corrected sed statements