fix rtl layout