Hi Yong,
Sorry for the problems. A couple of thoughts:
1. Yes, dragging a dropping branches can be a bit flaky. Often the software will think you are clicking on a new tree branch so it ends up losing its place. I will try and improve this in a future version of LEAP. It usually works better to drop into the Expression builder rather than an expression shown in the main data table But even so I know this can be frustrating.
2. So in the meantime, I suggest you use two other approaches for creating variable references. You can either type a reference in the builder manually. LEAP will help you by autocompleting: popping up a list of branch names whenever you press the "\" key. Alternatively press Ctrl-B to pop up the Branch/Variable selection wizard.
I hope this helps!
Charlie