fixed selection bug for multiple selects not working