prevent arrayResult.forEach of null error
Merge pull request #8 from beeant/fix-forEach-null-error

prevent arrayResult.forEach of null error