Fixed a serious bug at Compact view.