fixed pid retrieve (typo)