modify Loader.php