Fixed: quick fix to access array correctly