clearing errors once they have been seen