Fix function head matching warning