added trimming of SAMPLE from title on option transform