fix dataviewer crash when reading a empty c3d file