Fixed the bug with non labeled root nodes in Berkeley output.