fix tree view with a commit hash