fixed two more array-gc problems