Bug fix: click on tab