fix new tab issue