fix sed commands