fix bug in converting data to celestriumviz