fixing sed find and replace