Fix view error