Fix create tab's bug.
Merge pull request #8 from ArcCosine/bugfix

Fix create tab's bug.