fix the array problem

with record problem