fix tab view problem