before modifying tabs
after creating tabs