fixes for multiple selects