fixed so it builds first full PID