Fix default view bug