attach_tab_map fixed