Fix wrong array type.