fix problem with checkbox field.