fix navigation: tab active, tab display correctly