fix bug in laravel service provider