remove references to ntuple