prevent empty text in ui object when title attribute isn't provided to option tags