diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 37fccdf..13fa8ac 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -684,8 +684,8 @@
 
 		$data = fread($fp, filesize($file)); 
 		
-		$obj =& get_instance();	
-		$data = $obj->input->xss_clean($data);
+		$CI =& get_instance();	
+		$data = $CI->input->xss_clean($data);
 
         fwrite($fp, $data);
         flock($fp, LOCK_UN);
@@ -703,21 +703,21 @@
 	 */	
 	function set_error($msg)
 	{
-		$obj =& get_instance();	
-		$obj->lang->load('upload');
+		$CI =& get_instance();	
+		$CI->lang->load('upload');
 		
 		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);
 		}