finding the right place for hide_tab