array guards
Fixes
Merge pull request #140 from dockyard/bc-array-guards

array guards