Fixed bug in Pinky target computation