fix issue w/ array treated like string