fixes for textcomplete widgets