fixing trees.jsx after timeout and overwrite restrictions broke it