fix tab in state