refactor select options