updated checkSelectOption function