tabbed view - a is undefined