added tie_selection option to checkbox