fix some view bugs