fixed bug in tab settitle