update string() and array() for #184