diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index ca1d747..79b2f9c 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -1503,22 +1503,22 @@
 	 */	
 	function set_error($msg)
 	{
-		$obj =& get_instance();
-		$obj->lang->load('imglib');
+		$CI =& get_instance();
+		$CI->lang->load('imglib');
 		
 		if (is_array($msg))
 		{
 			foreach ($msg as $val)
 			{
 				
-				$msg = ($obj->lang->line($val) == FALSE) ? $val : $obj->lang->line($val);
+				$msg = ($CI->lang->line($val) == FALSE) ? $val : $CI->lang->line($val);
 				$this->error_msg[] = $msg;
 				log_message('error', $msg);
 			}		
 		}
 		else
 		{
-			$msg = ($obj->lang->line($msg) == FALSE) ? $msg : $obj->lang->line($msg);
+			$msg = ($CI->lang->line($msg) == FALSE) ? $msg : $CI->lang->line($msg);
 			$this->error_msg[] = $msg;
 			log_message('error', $msg);
 		}