Fix new tab issue