fix text widget styles bug