fixed dynatree issue