switches for strict objects and html view