better label handling for licenses