fix issue with multi checkboxes not appending [] to name