reset should also remove comparator.