solve pid collisions