Fix compatibility laravel versions