fix CE characteristic detection