Bugfix: fix some bugs caused by view doesn't not exists.