fix with laravel 4.1.x