bug on tree event corrected!