fixed bug with curve segment