fix the broken chain with arrays
3.1.1