fixed missing pids