check if curr_dir is ROOT.TROOT