Trimmed the tab title to remove unnecessary blank space