fix undefined variable path
Merge pull request #21 from glensc/patch-1

fix undefined variable path