fix to work with any laravel 4.x build