fixing of a checkbox array (array rather than string)