VErtical and horizontal curve

We need to draw a line in a sketch that bends virtically and horizontally at the same time. We were able to do this using a bent surface, a sketch and wrap sketch. But there's a part of the sketch that is left out and doesn't wrap. Here is the .par of it.

Can anyone help fixing this or is there an other way of going about it?