Fix bug - printing wrong array.