corrected text style bug