fix a bug in create_ccview