rebuilt uncommited function for bands and labels