remove unnecessary replacement