Igus Chain

Hi from Italy,

I'm having a big problem. I'm modeling an igus cable chain. When I use the curve pattern function the bend part of the chain always turns out bad, see picture. How can I make it look right? I tryed everything . I leave you the file. Thank you

SolidworksAssemblies