fix invalid eatArray, eatPair & eatObject return value