fix log parsing in tree