Fix the default view bug