Fix selected replacement