added my patch support for curvecp