diff --git a/recaptcha.admin.inc b/recaptcha.admin.inc
index 196079d..5f13e38 100644
--- a/recaptcha.admin.inc
+++ b/recaptcha.admin.inc
@@ -9,8 +9,11 @@
  * Form callback; administrative settings for reCaptcha.
  */
 function recaptcha_admin_settings() {
-  // Load the recaptcha library.
-  _recaptcha_load_library();
+  // Load the recaptcha library. Error if library does not load.
+  if (!_recaptcha_load_library()) {
+    drupal_set_message(t('Error loading recaptchalib.'), 'error');
+    return FALSE;
+  }
 
   $form = array();
   $form['recaptcha_public_key'] = array(
diff --git a/recaptcha.module b/recaptcha.module
index 99d1896..be21c3b 100644
--- a/recaptcha.module
+++ b/recaptcha.module
@@ -74,8 +74,10 @@ function recaptcha_captcha() {
       $captcha_type = array_shift($args);
       $captcha = array();
       if ($captcha_type == 'reCAPTCHA') {
-        // Load the recaptcha library.
-        _recaptcha_load_library();
+        // Load the recaptcha library. Show Math if library does not load.
+        if (!_recaptcha_load_library()) {
+          return captcha_captcha('generate', 'Math', $args);
+        }
 
         // Check if reCAPTCHA is available and show Math if not.
         $connect = @fsockopen(RECAPTCHA_VERIFY_SERVER, 80);
@@ -253,5 +255,5 @@ EOT;
  * Load the recaptcha library.
  */
 function _recaptcha_load_library() {
-  module_load_include('php', 'recaptcha', 'recaptcha-php-1.11/recaptchalib');
+  return module_load_include('php', 'recaptcha', 'recaptcha-php-1.11/recaptchalib1');
 }
