fixing sed replacement command