Killed bug.

Index error when user close current tab.