reorganize master-table