fix lint-warning: Avoid passing null as the view root