add view namespace to fix type hint error