check table sitecategories exists