better invalid tab selection.