         case settingsTableView:
             return settingItems.count
         case subscriptionsTableView where subscriptions != nil:
-            return subscriptions!.count
+            return max(1, subscriptions!.count)
         default:
             return 0
         }

        userSubscriptionEndpointRequest.success = { (endpointRequest: EndpointRequest) in
            guard let subscriptions = endpointRequest.processedResponseValue as? [Series] else { return }
            self.subscriptions = subscriptions.sorted { $0.lastUpdated > $1.lastUpdated }
            self.subscriptionsTableView.stopLoadingAnimation()
            self.subscriptionsTableView.reloadData()
            self.remakeSubscriptionTableViewContraints()
        }

        userSubscriptionEndpointRequest.failure = { (endpointRequest: EndpointRequest) in
            self.subscriptionsTableView.stopLoadingAnimation()
        }

        System.endpointRequestQueue.addOperation(userSubscriptionEndpointRequest)
    }

    // EmptyStateTableViewDelegate

    func didPressEmptyStateViewActionItem() {
         guard let appDelegate = UIApplication.shared.delegate as? AppDelegate, let tabBarController = appDelegate.tabBarController else { return }
        tabBarController.tabBarItems[System.searchTab]?.rootViewController.popToRootViewController(animated: false)
        tabBarController.programmaticallyPressTabBarButton(atIndex: System.searchTab)
    }

    func emptyStateTableViewHandleRefresh() {
        // not necessary for this tableview
    }
}

            cell.selectionStyle = .gray
            return cell
        case subscriptionsTableView:
            guard let subs = subscriptions else { return UITableViewCell() }
            if subs.count > 0 {
                let cell = tableView.dequeueReusableCell(withIdentifier: reusableSubscriptionCellID, for: indexPath) as? SearchSeriesTableViewCell ?? SearchSeriesTableViewCell()
                if let series = subscriptions?[indexPath.row] {
                    cell.configure(for: series, index: indexPath.row, showLastUpdatedText: true)
                }
                cell.backgroundColor = .offWhite
                return cell
            }
            else {
                guard let user = System.currentUser else { return UITableViewCell() }
                let cell = NullProfileTableViewCell(user: user)
                tableView.backgroundColor = .paleGrey
                return cell
            }
        default:
            return UITableViewCell()
        }
