put back ndata for trace cache handling made easy