trim term components