merge integral_error into integral