text component improvements