fixes pid reference.
Merge pull request #51 from birkin/master

fixes pid reference.