fix problem with move tree after