Fixed a bug pulling from object pid