Fix function path