rewrite more rtl