Fix bad search & replace