attempt to solve wrapping problem