Bugfix!! Tree wasn't printed correctly