deal with selection box problems