modified the options widget