fix a bug on clc/view.py