removes unused rtl layout