fixing sed command