yarp_write history code wasn't checking for a target