fixed the main table view, now remembers the indexPath