Missed this in the earlier commit. works now.

fixes #804
Seems that the test failure is related to this line because of using the pid. I checked it out locally and switching it back to id works but I'm not familiar with the changes that have been made so wanted to check with you about going back to id or what would need to change to use pid