Fix for function pointers