Fix nexted arrays.