if not either class or viewClass