handle the case of empty label