fix suffix tree