added assert for index out-of-bounds access with jolypark (nw)