reset latch when resetError called