Remove unnecessary call to addTempRoot()