fixed category swap and turned off ntuple production