fixing sed