demodulation for smart phone fix 2 bugs