fix markup issue with optgroup labels