fixed bug in nested arrays initialization