handle checkbox, map to true/false