Bugfix for laravel 4.2.x