change dir for NaiveTrie