fixed partial decoding in mode 2 of sync_and_demodulate()