fix residual tab pollution