handle multple select options correctly