fix array append
Merge pull request #117 from maskedinterrupt/patch-1

fix array append