Fixes global function path