label trim code