fixed bug in cm_code.exclude