fixed some view frame work