minor bug fix in ntuple convertor