fix changing root dir of tntnet