This is wrong, as we might do double replacing.