fixes  Immutable constructor for nested arrays