Texturing along curve seems not working

See attached distorted image