fixed some view error