fix laravel upgrade from <= 4.1.25 to 4.1.26 error