Fix error result status