remove replace method