Fixing sed command