Fix creting new tab