fix tab name

fix default name if tab is not assigned.