Missing old $path variable, reference fix