Don't duplicate the id replace if it's already happened