fixed "null " path bug
Merge pull request #32 from nutty898/master

fixed "null" path bug