adding correct search pid