Changed VLOG to handle uninitialised target ID.