- fixed bug with "add before"
- fixed bug with "add child" when there is no children at the moment