fix pop error and supported linux path.
Merge pull request #1 from JoneWang/master

fix pop error and supported linux path