add trim to term