add global_pid