fix repeat on tab and pdf