simplify textOption assignment