fix select.value so that it displays correct option on first render