updated smart labels to only use active labels