Return strange code in curveset.cpp and comment it