system: fix treatment of RT_TABLE_MAIN