fixed issue where the PR id wasn't being pulled correctly