Updated trim caption variable