was logging incorrect array.