Fix inspect array bug