restrict table view