Fix some missing array refs