fix tab file bug