fix a bug on tab title