moving onselect to onchange