Fix 'replace' missing