fixed a bug related to checkbox properties