adapt strings