bug for table view