only create table view if not already set
only create table view if not already set