fix ecc_set_type member name conflict