Pid validation modification