Fixed issue in System.php file