delete and new tab fix, tab limit to be fixed