Fix for tg-bidi