remove function pointer