Fix bugs in view.