[BUGFIX] fixed the title of tabs when inserting space