make dropdownbox work