Fixing deltree