added missing LabelVector
fixed minor stuff