changed table/view scope to that of the package