fixed: wasnt working on latest version of laravel 5