fix error in sed command