laravel closures fix