fixed bug: checkboxes must be all checked when first visit