Fixing double tree adding