Removed redundant code in channelview and clusterview