fixed the bug of the text style of the title