remove unwanted replace