fix direction to rtl.