fix trim and strings