Fixed exception in TabsView