bug fix in MVA friend trees production