clear error in text