fix termination exception in tab nevigation