fixes for TEC widget colorizing