bug fix (selects)