revert changing of array parsing