bugfix for toggle of labels with space in name