fix error match analyzing