fix bug in previous commit for RT11761, RT12737