modifications for rtl languages