removed redundant code of CCextractor