add basic rtl support