display the tree crrectly