Fixed crash related to array data
Commented out unneeded code .