fix support for latest laravel