fixed dropdown bug related to checkbox