remove replace

support is deprecated