fixed subtle bug with allocating extra length 1 array
0.1.1