'path' isn't defined in that context