better handling of code in rtl languages