fix rtl mode #233