[fix] broken view switch