fixes #376 - when using magic mode with arrays, a hybrid wrapper is used