fixing optionsText behaviour