fix multiple selects bug.