don't convert function pointer to object pointer