diff --git a/scp/autocron.php b/scp/autocron.php
index 366351c9defedffd2bccd478b1d3c8bd2e349ba4..0e8938160952786e28d27081c61bc2eb32f36807 100644
--- a/scp/autocron.php
+++ b/scp/autocron.php
@@ -19,10 +19,10 @@ ignore_user_abort(1);//Leave me a lone bro!
 @set_time_limit(0); //useless when safe_mode is on
 $data=sprintf ("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%",
         71,73,70,56,57,97,1,0,1,0,128,255,0,192,192,192,0,0,0,33,249,4,1,0,0,0,0,44,0,0,0,0,1,0,1,0,0,2,2,68,1,0,59);
-$datasize=strlen($data);
+
 header('Content-type:  image/gif');
 header('Cache-Control: no-cache, must-revalidate');
-header("Content-Length: $datasize");
+header('Content-Length: '.strlen($data));
 header('Connection: Close');
 print $data;
 
@@ -32,7 +32,7 @@ ob_start(); //Keep the image output clean. Hide our dirt.
 $sec=time()-$_SESSION['lastcroncall'];
 if($sec>180): //user can call cron once every 3 minutes.
 require_once(INCLUDE_DIR.'class.cron.php');    
-Cron::TicketMonitor(); //Age tickets: We're going to age tickets ever regardless of cron settings. 
+Cron::TicketMonitor(); //Age tickets: We're going to age tickets regardless of cron settings. 
 if($cfg && $cfg->enableAutoCron()){ //ONLY fetch tickets if autocron is enabled!
     Cron::MailFetcher();  //Fetch mail.
     $ost->logDebug('Autocron', 'Cron job executed ['.$thisstaff->getUserName().']');