xtc trajectory reading fixed