fix autoconversion of values in arrays