Fix pids that are strings