rendering of tabs moved to macro