fix sed command so it works in linux