primary tab fix