fix onion gen printing