Fixed check boxes bug