Fixed error in CType

Copy paste error. Fixed