modify data struct of id_tab to map