Fix Bug when use arx outside laravel