Fix tab links generation