work tree check bug fix
Merge pull request #96 from danielhan/master

work tree check bug fix