fixed memory leakage in correctJets_data function