Check array type; fix