fix check boxes not receiving default values