bullet proofing

In some scenarios I was getting bad operand type, += an array to null was failing, so I initialize it with an empty array.