fix bug with log 'WARNING! unknown frame mode received'