fixed sed command quoting