fixed errant syntax in changeset 53ace78c4b45, fixes #37
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 73cb6b8..64baaef 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -1254,11 +1254,11 @@
 	 */	
 	function xss_clean($str)
 	{
-		if ( ! is_object($this->CI->security))
+		if ( ! isset($this->CI->security))
 		{
-			$this->CI->load('security');
+			$this->CI->load->library('security');
 		}
-		
+
 		return $this->CI->security->xss_clean($str);
 	}