diff --git a/htmLawed.module b/htmLawed.module
index ad4c8dd..f04dcc1 100644
--- a/htmLawed.module
+++ b/htmLawed.module
@@ -68,11 +68,13 @@ function _htmLawed_process($text, $filter, $format, $langcode, $cache, $cache_id
 
   $module_path = drupal_get_path('module', 'htmLawed');
 
-  // If Libraries (API 2.x) module is enabled, use htmLawed library through it, else use the htmLawed library provided with the htmLawed module
-  if (function_exists('libraries_load') && ($library = libraries_load('htmLawed')) && !empty($library['loaded']) && function_exists('htmLawed')) {
-  }
-  else {
-    include_once ("$module_path/htmLawed/htmLawed.php");
+  // Try to load the library and fallback to the htmLawed library provided with
+  // the htmLawed module.
+  if (($library = libraries_load('htmLawed')) && !empty($library['loaded'])) {
+    // Library loaded.
+  } else {
+    // Fall back.
+    require_once('htmLawed/htmLawed.php');
   }
   
   // If PHP code blocks are to be preserved, hide the special characters like '<' of '<?php'
