restore exit when extract result error