Fix load view error