device label set bug fix