trim sentence before synthesis