Fixed error of @items == nil preventing page from loading