Fix data path for tgen