                 return NSLocalizedString("My Bibles", comment: "Section heading for User selected Bibles")
             }
             else if section >= self.availableSection {
-                let index = section - 4
+                let index = section - self.availableSection
                 let locale = self.dataModel.locales[index]
                 let lang = Locale.current.localizedString(forLanguageCode: locale.languageCode ?? "en")
                 return lang
             }
-            else {
-                return nil
-            }
+            else { return nil }
         case .language:
             if section == self.selectedSection {
                 return NSLocalizedString("My Languages", comment: "Section heading for User languages")

        }
        else if indexPath.section >= self.availableSection {
            let bibleModel = self.dataModel as! BibleModel
            if let bible = bibleModel.getAvailableBible(section: (indexPath.section - 4), row: indexPath.row) {
                let detailController = BibleDetailViewController(bible: bible)
                self.navController?.pushViewController(detailController, animated: true)
            }

    }
    
    private func bibleViewRowSelect(tableView: UITableView, indexPath: IndexPath) {
        if indexPath.section == self.selectedSection {
            if let bible = self.dataModel.getSelectedBible(row: indexPath.row) {
                let detailController = BibleDetailViewController(bible: bible)
                self.navController?.pushViewController(detailController, animated: true)
