update xtc to fix memory leak