collision detection: correct tree data