Fix array definition bug