fix tab issues