bugfixes and tree info template