fix function pointer variable name