fix error with CPT_Setup