fix trim on all statements