Fixing pids.