fix text widget width problem