Fixed error in table view