fix broken tab navigation