Fix bad replace command.