Validation setLabels fix