trying a more general solution for the tabs problem.