Thanks you saved my life as for those who did not understood the first answer just add subdivisions to the objects who doesnt bend.I was struggling with a cube wich wasnt accepting to curve properly !