fix pid bug
Merge pull request #87 from AlphaTr/master

fix pid bug