fixes to selectOptions merge