fix extractArray
Merge pull request #69 from fsmanuel/fix-extract-array

fix extractArray