text style clean up