fixing encodings of index values
0.2.1 fixes index value encodings