ensur that all views are defined