create pid replace return with None and Pid