extract errors