- fixed handling of arrays