fix tab count between multiple runs