Fix tab opening error