remove C function callback