fix cp/paste with rtl