Fix CPT registration