fix error result getter