walkPath() lastPos wasn't assigned
Merge pull request #11 from riwu/patch-1

walkPath() lastPos wasn't assigned