fixed bug in index.blade.php