Fix replacement with !string