fixed: some view bugs